<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="root">
			请输入张三的成绩：<input type="number" v-model="score" />
			<h2 v-if="score>=90">张三的成绩优秀</h2>
			<h2 v-else-if="score>=75">张三的成绩良好</h2>
			<h2 v-else-if="score>=60">张三的成绩及格</h2>
			<h2 v-else>张三的成绩不及格</h2>
		</div>
		<script type="text/javascript">
			new Vue({
				el:"#root",
				data:{
					score:''
				},
				methods:{}
			})
		</script>
	</body>
</html>
